import React, { Component } from 'react'
import '../assets/styles/formInput.less'

// 导入字体图标
import '../assets/fonts/iconfont.css'
class FormInput extends Component {
  render() {
    return (
      <div className="form-group">
        <i className={'iconfont icon-' + this.props.iconClass}></i>
        <input
          type={this.props.type}
          placeholder={this.props.placeholder}
        ></input>
      </div>
    )
  }
}

export default FormInput
